Machine Learning for Economics and Finance in TensorFlow 2 by Isaiah Hull
Author:Isaiah Hull
Language: eng
Format: epub
ISBN: 9781484263730
Publisher: Apress
A convolutional neural network (CNN) makes use of convolutional layers, which are designed to handle image data. Figure 5-6 demonstrates how such layers work. For simplicity, weâll assume that weâre working with a 4x4 pixel grayscale image, which is shown in pink in the figure. The convolutional layer will apply filters, such as the one shown in blue, by performing elementwise multiplication of the filter and image segment and then summing the elements of the resulting matrix. In this case, the filter is 2x2 and is first applied to the red segment of the image, yielding the scalar value 0.7. The filter is then moved to the right and applied to the next 2x2 segment of the image, yielding a 0 value. The process is repeated for all 2x2 segments of the image, yielding a 3x3 matrix, which is shown in yellow.
Figure 5-7 demonstrates how convolutional layers fit into a CNN.6 The first layer is an input layer, which accepts color image tensors of shape (64, 64, 3). Next, a convolutional layer with 16 filters is applied. Notice that each filter is applied across the color channel, yielding an output of 64x64x16. In addition to performing the multiplication step illustrated in Figure 5-7, the layer also applies an activation function to each element of the output, which leaves the shape unchanged. Note that the 16 64x64 matrices that resulted from the operations in this layer each are referred to as âfeature maps.â
Figure 5-6A 2x2 convolutional filter applied to a 4x4 image
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8304)
Test-Driven Development with Java by Alan Mellor(6750)
Data Augmentation with Python by Duc Haba(6666)
Principles of Data Fabric by Sonia Mezzetta(6419)
Learn Blender Simulations the Right Way by Stephen Pearson(6312)
Microservices with Spring Boot 3 and Spring Cloud by Magnus Larsson(6187)
Hadoop in Practice by Alex Holmes(5962)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5809)
RPA Solution Architect's Handbook by Sachin Sahgal(5588)
Big Data Analysis with Python by Ivan Marin(5375)
The Infinite Retina by Robert Scoble Irena Cronin(5276)
Life 3.0: Being Human in the Age of Artificial Intelligence by Tegmark Max(5152)
Pretrain Vision and Large Language Models in Python by Emily Webber(4345)
Infrastructure as Code for Beginners by Russ McKendrick(4104)
Functional Programming in JavaScript by Mantyla Dan(4040)
The Age of Surveillance Capitalism by Shoshana Zuboff(3959)
WordPress Plugin Development Cookbook by Yannick Lefebvre(3819)
Embracing Microservices Design by Ovais Mehboob Ahmed Khan Nabil Siddiqui and Timothy Oleson(3621)
Applied Machine Learning for Healthcare and Life Sciences Using AWS by Ujjwal Ratan(3597)
